package com.tzbank.wisdom.service;

import java.util.Map;

public interface UserService {
	
	public Map<String, Object> automaticRegister(Map<String, String> reqBody,Map<String, Object> queryMap);

	/**
	 * 登录接口
	 * 
	 * @return
	 */
	public Map<String, Object> logon(Map<String, String> reqBody);

	/**
	 * 安全退出
	 * 
	 * @return
	 */
	public Map<String, Object> logout(Map<String, String> reqBody);

	/**
	 * 是否是同设备登录
	 * 
	 * @param reqBody
	 * @param loginResult
	 */
	public int isDeviceLogin(Map<String, String> reqBody, Map<String, Object> loginResult);

	/**
	 * 查询客户号信息
	 * 
	 * @param reqBody
	 * @return
	 */
	public Map<String, Object> queryUserNo(Map<String, String> reqBody);

	/**
	 * 登录
	 * 
	 * @param reqBody
	 * @return
	 */
	public Map<String, Object> login(Map<String, String> reqBody, Map<String, Object> queryMap);

	/**
	 * 修改密码
	 * 
	 * @param reqBody
	 *            请求参数
	 * @param flag
	 *            是否强制
	 * @return
	 */
	public Map<String, Object> resetPassword(Map<String, String> reqBody, int flag);

	/**
	 * 找回密码
	 * 
	 * @param reqBody
	 * @return
	 */
	public Map<String, Object> retrievePassword(Map<String, String> reqBody);

	/**
	 * 发送验证码
	 * 
	 * @param reqBody
	 * @param flag
	 * @return
	 */
	public Map<String, Object> sendAuthCode(Map<String, String> reqBody);

	/**
	 * 校验验证码
	 * 
	 * @param reqBody
	 * @return
	 */
	public Map<String, Object> checkCode(Map<String, String> reqBody);

	public Map<String, Object> pushMsg(Map<String, String> reqBody);
}
